package com.hgw.Demo02CommandPattern.Exercises17_10_3;

/**
 * Data time:2021/12/16 22:04
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class Client {
    public static void main(String[] args) {
        SwitchButton button = new SwitchButton();
        Command command = new OnElectricFan();
        button.setCommand(command);
        button.click();
    }
}
